// 自定义指令
export const imgerr = {
  inserted (el, opt) {
    el.onerror = () => {
      el.src = opt.value
    }
  }
}
export const fb = {
  inserted (el, opt) {
    console.log(el, opt)
    el.style.border = `1px solid ${opt.value}`
  }
}
